#encoding=utf8
'''
Created on 2012-10-9

@author: Administrator
'''

class UserFriendsRelation(object):
    '''
    用户好友关系
    '''
    TABLE_NAME="sq_userfriendsrelation"
    PRIMARY_KEY="Id"
    FROMUSERID="FromUserId"
    TOUSERID="ToUserId"
    CREATED="Created"
    def __init__(self,):
        '''
        Constructor
        '''
        self.__Id = 0
#        好友源Id
        self.__FromUserId = 0
#        目标好友Id
        self.__ToUserId = 0
#        关系创建时间
        self.__Created = 0

    def get_id(self):
        return self.__Id


    def set_id(self, value):
        self.__Id = value


    def del_id(self):
        del self.__Id


    def get_from_user_id(self):
        return self.__FromUserId


    def get_to_user_id(self):
        return self.__ToUserId


    def get_created(self):
        return self.__Created


    def set_from_user_id(self, value):
        self.__FromUserId = value


    def set_to_user_id(self, value):
        self.__ToUserId = value


    def set_created(self, value):
        self.__Created = value
        